package com.fjl.paixu;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MapTest {
	private static Map<String, Integer> mPositionSet = new HashMap<String, Integer>();
	private static List<String> mapNameList = new ArrayList<String>();
	
	public static void main(String[] args) {

		hashMapTest();
	}

	public static void hashMapTest() {
		for (int i = 0; i < 4; i++)
		{
			mPositionSet.put("视点"+(i+1), Integer.valueOf(i));
		}
		mapNameList.addAll(mPositionSet.keySet());
		for(int i = 0;i < mapNameList.size();i++)
		{
			System.out.println(mapNameList.get(i));
		}
	}
}
